home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 February / EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso / earcd / patches / ip20t21a.lha / IFX20to21a_Patch / Patches2.lha / Modules / Printer / Default.Primera next >
Text File  |  1995-01-26  |  7KB  |  150 lines

  1. ;; $VER: Default.Primera 1.00.00 (20.01.95)
  2. ;; ---------------------------------------------------------------------------
  3. ;; Defaults file for Primera and PrimeraPro ImageFX printer drivers.  This
  4. ;; file is read to obtain tunable parameters such as dither matrices and
  5. ;; gamma correction tables.  The items in this table *must* be in order,
  6. ;; and must maintain their original size.  Items in this file are, in
  7. ;; order:
  8. ;;
  9. ;;    - 4x4 dither matrix for dye-sub printing
  10. ;;    - 8x8 dither matrix for thermal wax transfer printing
  11. ;;    - 256 element gamma correction table for dye-sub printing
  12. ;;    - three 16 element grey level tables, one per primary color
  13. ;;    - HSV space color correction values for Custom1 dye-sub printing
  14. ;;    - gamma correction table for thermal (wax) printing.
  15. ;; 
  16. ;; All numbers must be between 0 and 255, inclusive.  Comments begin with
  17. ;; a ';' character.  Newlines and spaces may be freely used, but no other
  18. ;; non-numeric characters may appear.
  19. ;;
  20. ;; Modification of this file should be attempted by advanced users only.
  21. ;;
  22. ;; Note that various monitors show significant differences when displaying
  23. ;; a given color.  Matching printed CMY colors to displayed RGB colors
  24. ;; may require modification of these parameters to match a specific
  25. ;; display and printer.
  26. ;; ---------------------------------------------------------------------------
  27.  
  28.  
  29. ;; ----------------- 4x4 Dither matrix for Dye Sub printing ------------------
  30.  
  31.     1  9  3 11
  32.    13  5 15  7
  33.     4 12  2 10
  34.    16  8 14  6
  35.  
  36.  
  37. ;; -------------- 8x8 Dither matrix for Thermal Xfer printing ----------------
  38.  
  39.     1 17 49 33  3 19 51 35
  40.     9 25 57 41 11 27 59 43
  41.    53 37  5 21 55 39  7 23
  42.    61 45 13 29 63 47 15 31
  43.     4 20 52 36  2 18 50 34
  44.    12 28 60 44 10 26 58 42
  45.    56 40  8 24 54 38  6 22
  46.    64 48 16 32 62 46 14 30
  47.  
  48.  
  49. ;; ------------------- Dye-Sub Gamma correction table. -----------------------
  50.  
  51. ;; -- This table is used for Fargo color correction only ---------------------
  52.  
  53. ;; -- Incoming color 0..255 is used as an index into this table.  Result is
  54. ;; -- blended with original color and grey adjustment values according to
  55. ;; -- factors specified in the options settings.  The formula, given original
  56. ;; -- color 'c', and correction factors Primary, Gamma, and, Grey, is:
  57.  
  58. ;; --   g = min(c,m,y)
  59. ;; --   corrected_c = (c * Primary + GammaTbl[c] * Gamma + Grey * [c-g]) / 128
  60.  
  61. ;; -- NOTE: Table is used in CMY space, not RGB space!
  62.  
  63.  
  64.     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   ;;   0- 15
  65.     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   ;;  16- 31
  66.     1   1   1   1   1   1   1   1   1   1   1   1   1   1   1   2   ;;  32- 47
  67.     2   2   2   2   2   2   2   3   3   3   3   3   3   3   4   4   ;;  48- 63
  68.     4   4   4   5   5   5   5   6   6   6   6   6   7   7   7   8   ;;  64- 79
  69.     8   8   8   9   9   9  10  10  10  11  11  12  12  12  13  13   ;;  80- 95
  70.    14  14  14  15  15  16  16  17  17  18  18  19  19  20  20  21   ;;  96-111
  71.    22  22  23  23  24  25  25  26  27  27  28  29  29  30  31  32   ;; 111-127
  72.    32  33  34  35  35  36  37  38  39  40  40  41  42  43  44  45   ;; 128-143
  73.    46  47  48  49  50  51  52  53  54  55  56  57  58  60  61  62   ;; 144-159
  74.    63  64  65  67  68  69  70  72  73  74  76  77  78  80  81  82   ;; 160-175
  75.    84  85  87  88  90  91  93  94  96  97  99 101 102 104 105 107   ;; 176-191
  76.   109 111 112 114 116 118 119 121 123 125 127 129 131 132 134 136   ;; 192-207
  77.   138 140 142 144 147 149 151 153 155 157 159 162 164 166 168 171   ;; 208-223
  78.   173 175 178 180 182 185 187 190 192 195 197 200 202 205 207 210   ;; 224-239
  79.   213 215 218 221 223 226 229 232 235 237 240 243 246 249 252 255   ;; 240-255
  80.  
  81.  
  82. ;; ------------ Grey Level Table, one per primary - Y/M/C --------------------
  83.  
  84. ;; -- For Dye-Sub printing, after color correction, this table maps 0..255
  85. ;; -- values into 0..15 for dye-sublimation printing.  The printer is not a
  86. ;; -- linear device, so these tables adjusts accordingly.  There is one per
  87. ;; -- primary.  Note that these are in YMC order, not CMY order.
  88.  
  89.     0  24  49  68  87 105 123 141 156 171 186 202 214 228 242 254   ;; Y
  90.     0  24  49  68  87 105 123 141 156 171 186 202 214 228 242 254   ;; M
  91.     0  24  49  68  87 105 123 141 156 171 186 202 214 228 242 254   ;; C
  92.  
  93. ;; ------------ Custom1 Dye-Sub color correction tables ----------------------
  94.  
  95. ;; -- For Custom1, Y, M, and C can be adjusted according to their hue
  96. ;; -- value.  For example, to print most blues, the printer needs less
  97. ;; -- magenta than the screen does.  These tables map Y, M, and C 
  98. ;; -- corrections to hue values (the driver automatically adjusts for
  99. ;; -- saturation and brightness).  There is one table each for Y, M, and
  100. ;; -- C.  Each table must be terminated by an entry with all 0's.
  101.  
  102. ;;  Y table
  103. ;;  Hue  Maxdist  Adjust  S_PC  V_PC  FalloffExp
  104. ;;  --------------------------------------------
  105.       0       0      0       0     0      0     ; Termate Y table
  106.  
  107. ;;  M table
  108. ;;  Hue  Maxdist  Adjust  S_PC  V_PC  FalloffExp
  109. ;;  --------------------------------------------
  110.     240    3000    -100    255   255      2     ; most blues are too dark;
  111.                                                 ; let's subtract some M to
  112.                                                 ; fix them up.
  113.       0       0      0       0     0      0     ; Termate M table
  114.  
  115. ;;  C table
  116. ;;  Hue  Maxdist  Adjust  S_PC  V_PC  FalloffExp
  117. ;;  --------------------------------------------
  118.       0       0      0       0     0      0     ; Termate C table
  119.  
  120.  
  121.  
  122. ;; --------------- Wax (Thermal) Gamma Correction Table ----------------------
  123.  
  124. ;; -- This table is used for wax thermal printing only -----------------------
  125.  
  126. ;; -- Incoming color 0..255 is used as an index into this table.  Result is
  127. ;; -- sent to Fargo's color correction algorithm.  This feature was added
  128. ;; -- because wax prints normally come out too dark.  This table provides a
  129. ;; -- way to make a more linear printed color space, and thus more closely
  130. ;; -- match screen colors.
  131.  
  132. ;; -- NOTE: Table is used in CMY space, not RGB space!
  133.  
  134.    0   0   0   0   0   1   1   1   2   2   2   2   3   3   3   4   ;;   0- 15
  135.    4   4   5   5   5   6   6   6   7   7   8   8   8   9   9  10   ;;  16- 31
  136.   10  10  11  11  12  12  13  13  14  14  15  15  16  16  17  17   ;;  32- 47
  137.   18  18  19  19  20  20  21  21  22  22  23  24  24  25  25  26   ;;  48- 63
  138.   27  27  28  29  29  30  30  31  32  32  33  34  34  35  36  37   ;;  64- 79
  139.   37  38  39  39  40  41  42  42  43  44  45  45  46  47  48  49   ;;  80- 95
  140.   49  50  51  52  53  54  54  55  56  57  58  59  60  60  61  62   ;;  96-111
  141.   63  64  65  66  67  68  69  70  71  71  72  73  74  75  76  77   ;; 111-127
  142.   78  79  80  81  82  83  84  85  87  88  89  90  91  92  93  94   ;; 128-143
  143.   95  96  97  98 100 101 102 103 104 105 106 108 109 110 111 112   ;; 144-159
  144.  113 115 116 117 118 119 121 122 123 124 126 127 128 129 131 132   ;; 160-175
  145.  133 135 136 137 138 140 141 142 144 145 146 148 149 151 152 153   ;; 176-191
  146.  155 156 157 159 160 162 163 164 166 167 169 170 172 173 175 176   ;; 192-207
  147.  178 179 181 182 184 185 187 188 190 191 193 194 196 197 199 200   ;; 208-223
  148.  202 204 205 207 208 210 212 213 215 216 218 220 221 223 225 226   ;; 224-239
  149.  228 230 231 233 235 236 238 240 242 243 245 247 248 250 252 255   ;; 240-255
  150.